package com.frank.auth.domain.service;

import com.frank.auth.domain.bo.AuthRoleBo;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2024/2/13
 * @description
 */
public interface RoleDomainService {

    /**
     * Add role
     *
     * @param authRoleBo role
     * @return true if success
     */
    Boolean addRole(AuthRoleBo authRoleBo);

    /**
     * Delete role
     *
     * @param authRoleBo role
     * @return true if success
     */
    Boolean updateRole(AuthRoleBo authRoleBo);

    /**
     * Delete role
     *
     * @param roleId role id
     * @return true if success
     */
    Boolean deleteRole(Long roleId);
}
